// 导入auth相关的axios
import { authRequest } from "@/request";

// 导出登录接口
export const postLogin = (body:any) =>(
  authRequest.post('/index/login',body)
)

// 获取个人信息
export const getInfo =()=>(
  authRequest.get('/index/info')
)

// 退出登录
export const postLogout = ()=>(
  authRequest.post('/index/logout')
)

